package software;

import softdone.Admin_done;
import softdata.Adm_data;

public class Admin_manege extends Admin_done{
	private int ID=0;
	Adm_data admim= new Adm_data();
	
	public boolean Login(){
		boolean CHECK=true;
		ID=Che_Login(admim.Name,admim.Pwd);
		if(ID==0) return false;
		return CHECK;
	}
	public void setName(String s){
		admim.Name=s;
	}
	public void setPwd(String s){
		admim.Pwd=s;
	}
	public int GetID(){
		return ID;
	}
}
